<?php

namespace app\client\controller;

use think\facade\Log;

class TestRequest extends \app\BaseController
{
    public function report (){
        $p=$this->request->post();
        Log::write('report','notice');
        Log::write(json_encode($p),'notice');
        Log::save();
    }
    public function heartBeat(){
        $p=$this->request->post();
        Log::write('heart beat','notice');
        Log::write(json_encode($p),'notice');
        Log::save();
//        api_return(200,'',$p);
    }
}
